<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$cakeDescription = __d('cake_dev', 'Test new member');
?>
<!DOCTYPE html>
<html>

<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription; ?>
	</title>
	
	<?php
		echo $this->Html->meta('icon');
		echo $this->fetch('meta');
		// CSS
		echo $this->Html->css('cake.generic');
		echo $this->Html->css('bootstrap');
		echo $this->Html->css('chrono_admin');
		echo $this->Html->css('menu_accordion');		
		echo $this->Html->css('select2');
		echo $this->Html->css('jquery-ui.css');
		echo $this->fetch('css');
		
		// Script
		echo $this->Html->script('jquery');
		echo $this->Html->script('jquery-1.7.2.min');
		echo $this->Html->script('bootstrap.min');
		echo $this->Html->script('jquery.dataTables');
		echo $this->Html->script('FixedColumns');
		echo $this->Html->script('select2');
		echo $this->Html->script('jquery-ui-1.10.3.custom');
		echo $this->Html->script('DateTimePicker');
		echo $this->Html->script('jquery.bpopup.min');
		echo $this->fetch('script');
	?>
</head>
<body>
	
	<div id="container">
		<div id="header">
			
		</div>
		<h3 style = "color: green"><?php echo $cakeDescription;?></h3>
		
		<div class="navbar " style = "border: 2px solid #808080">
		  <div class="navbar-inner">
		    <a class="brand" href="#" style = "border-right: 2px solid #808080">Home</a>
		    <ul class="nav">
		      <li  id ="sort" style = "border-right: 2px solid #808080"><?php echo $this->Html->link('Sắp xếp', array('controller' => 'test', 'action' => 'sort'))?></li>
		      <li id = "house" style = "border-right: 2px solid #808080"><?php echo $this->Html->link('Mã đi tuần', array('controller' => 'test', 'action' => 'madituan'))?></li>
		      
		    </ul>
		  </div>
		</div>
		<div id="content">
		<h3><?php echo isset($title_for_content) ? $title_for_content : $cakeDescription;?></h3>
		<?php echo $this->Session->flash(); ?>
		<?php echo $this->fetch('content'); ?>
		</div>
		
		<div id="footer">
			
		</div>
	</div>
	<?php
//	 echo $this->element('sql_dump'); 
	 ?>
	 
 <script >
	$(document).ready(function(){
		$("#house").click(function(){
			$(this).addClass("active");
//			$("#sort").removeClass("active");
		});
		$("#sort").click(function(){
			$(this).addClass("active");
//			$("#house").removeClass("active");
		});
		
	});
</script>
</body>
</html>



	





